'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	const collection = db.collection("bad_char")
	let res = collection.doc("633baaba11840a000171abfc")
		.update({
			bad_char: event.bad_char,
		})
	//返回数据给客户端
	return res
};
